<script>
    function fun_value(value) {
        alert(" data-on-ok value："+value);
    }
</script>
<section class="content" style="padding: 10px" >
    <a class="btn btn-danger btn-prompt" data-msg="请输入密码" data-form-type="0">按钮1</a>
    <a class="btn btn-danger btn-prompt"
       data-msg="请输入"
       data-value="我是默认值"
       data-on-ok="fun_value"
       data-btn-ok="下一步"
    >Click Me 1</a>
</section>

